package com.raymond.sgip.msg.response;

import com.raymond.sgip.enums.CommandIdType;
import com.raymond.sgip.msg.BaseSgipResponseMessage;

/**
 * 状态报告请求
 *
 * @author :  raymond
 * @version :  V1.0
 * @date :  2021-08-06 11:28
 */
public class ReportResponseMessage extends BaseSgipResponseMessage {
    /**
     * 结果，1字节
     */
    private short result = 0;
    /**
     * 扩展，8字节
     */
    private String reserve = "";

    public ReportResponseMessage(int sequenceId) {
        super(sequenceId);
    }

    @Override
    public int getCommandId() {
        return CommandIdType.REPORT_RESPONSE.getCommandId();
    }

    public short getResult() {
        return result;
    }

    public void setResult(short result) {
        this.result = result;
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve;
    }
}
